package com.sc.nft.entity.vo;

import com.sc.nft.entity.vo.metaWalletDTO.SimpleUserCollectionVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class BatchGiveMetaWalletDetailsVO {

    @ApiModelProperty("藏品id")
    private Long id;

    @ApiModelProperty("缩略图")
    private String creationContent;

    @ApiModelProperty("最新成交价")
    private String newDeal;

    @ApiModelProperty("藏品名称")
    private String collectionName;

    @ApiModelProperty("可转增藏品列表")
    private List<SimpleUserCollectionVO> giveDetailsVOList;

    @ApiModelProperty("跨链转增说明")
    private String crossChainGiveDesc;
    public void setNewDeal(BigDecimal newDeal) {
        this.newDeal = newDeal.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }
}
